home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Puzzle / bubble_elements.swf / scripts / DefineButton2_9 / BUTTONCONDACTION on(release).as
Encoding:
Text File  |  2007-03-20  |  391 b   |  19 lines

  1. on(release){
  2.    if(this.pn3.text != "")
  3.    {
  4.       _root.playerName = this.pn3.text;
  5.       _root.saveAll(_root.playerName,_root.CNT);
  6.       if(_root.inten)
  7.       {
  8.          _root.showtopten("backtomain");
  9.       }
  10.       else
  11.       {
  12.          _root.ClearStage();
  13.          _root.stopother(true);
  14.          _root.gotoAndStop("MAIN");
  15.       }
  16.       removeMovieClip(this);
  17.    }
  18. }
  19.